{% extends "admin/login.html" %}
{% load i18n %}

{% block title %}{% trans "Password reset" %}{% endblock %}

{% block login_header %}
    <div class="header">
        <div class="switch">
            <a id="switch_login">重设密码</a>
            <a id="switch_forget" href="/admin">快速登录</a>
        </div>
    </div>
{% endblock %}

{% block login_content %}
    <style>
        #reset-form #reset {
            margin: 40px 0 25px 40px;
        }
        #reset-form #reset label {
            font-size: 15px !important;
        }
        #reset-form #reset input {
            font-size: 15px;
            font-weight: normal;
            height: 26px;
        }
    </style>
    <form action="" method="post" id="reset-form">{% csrf_token %}
        {{ form.email.errors }}
        <p id="reset">
            <label for="id_email">{% trans 'Email address:' %}</label>
            {{ form.email }}
        </p>

        <div class="submit-row">
            <input type="submit" value="重设密码" class="button_blue"/>
        </div>
    </form>
{% endblock %}
